package com.crcc.common.constant;

/**
 * @Description:全局变量
 */
public class CommonConsts {


	/**
	 * 操作成功！MyException中的1000
	 */
	public static final String SUCCESS = "1000";

	/**
	 * token不存在 请重新登陆！
	 */
	public static final String TOKEN_NOT_EXIT = "405";

	/**
	 * 请求的数据错误
	 */
	public static final String BODY_NOT_MATCH = "400";

	/**
	 * 服务器内部错误
	 */
	public static final String INTERNAL_SERVER_ERROR = "500";

	/**
	 * 签名校验失败
	 */
	public static final String SIGN_CHECK_ERROR = "999";

	/**
	 * 用户不存在
	 */
	public static final String USER_ERROR = "666";

	/**
	 * 解密失败
	 */
	public static final String DECRYPTION_FAILED = "777";

	/**
	 * 操作失败
	 */
	public static final String OPERATE_FAILED = "778";

	/**
	 *判断标识
	 */
	public static final String PROPER_ZERO = "0";

	public static final String PROPER_ONE = "1";

	public static final String PROPER_TWO = "2";

	public static final String PROPER_FOUR = "4";

	public static final String PROPER_FREE = "5";

	public static final String PROPER_THREE = "3";

	public static final String PROPER_SIX= "6";

	public static final String PROPER_EIG= "8";

	/**
	 * 常用数字：0
	 */
	public static final int ZERO = 0;

	/**
	 * 常用数字：1
	 */
	public static final int ONE = 1;

	/**
	 * 常用数字：2
	 */
	public static final int TWO = 2;

	/**
	 * 常用数字：3
	 */
	public static final int THREE = 3;

	/**
	 * 常用数字：4
	 */
	public static final int FOUR = 4;

	/**
	 * 常用数字：5
	 */
	public static final int FIVE = 5;

	/**
	 * 常用数字：6
	 */
	public static final int SIX = 6;

	/**
	 * 常用数字：7
	 */
	public static final int SEVEN = 7;

	/**
	 * 常用数字：8
	 */
	public static final int EIGHT = 8;

	/**
	 * 常用数字：9
	 */
	public static final int NINE = 9;

	/**
	 * 常用数字：10
	 */
	public static final int TEN = 10;

	/**
	 * 常用数字：11
	 */
	public static final int ELEVEN = 11;

	/**
	 * 常用数字：12
	 */
	public static final int TWELVE = 12;

	/**
	 * 常用数字：13
	 */
	public static final int THIRTEEN = 13;

	/**
	 * 常用数字：14
	 */
	public static final int FOURTEEN = 14;

	/**
	 * 常用数字：15
	 */
	public static final int FIFTEEN = 15;

	/**
	 * 常用数字：16
	 */
	public static final int SIXTEEN = 16;

	/**
	 * 常用数字：19
	 */
	public static final int NINETEEN = 19;
	/**
	 * 常用数字：18
	 */
	public static final int EIGHTEEN = 18;
	/**
	 * 常用数字：17
	 */
	public static final int SEVENTEEN = 17;

	/**
	 * 常用数字：20
	 */
	public static final int TWENTY = 20;

	/**
	 * 常用数字：21
	 */
	public static final int TWENTY_ONE = 21;

	/**
	 * 常用数字：22
	 */
	public static final int TWENTY_TWO = 22;

	/**
	 * 常用数字：23
	 */
	public static final int TWENTY_THREE = 23;
	/**
	 * 常用数字：24
	 */
	public static final int TWENTY_FOUR = 24;

	/**
	 * 常用数字：25
	 */
	public static final int TWENTY_FIVE = 25;
	/**
	 * 常用数字：30
	 */
	public static final int THIRTY = 30;

	/**
	 * 常用数字：32
	 */
	public static final int THIRTYTWO = 32;

	/**
	 * 签到日期格式：MM月dd日
	 */
	public static final String SIGN_DATE_FORMAT = "MM月dd日";

	/**
	 * 日期格式：yyyy-MM-dd HH:mm:ss
	 */
	public static final String DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";

	/**
	 * 日期格式：yyyy-MM-dd
	 */
	public static final String DATE_FORMAT_SIMPLE = "yyyy-MM-dd";

	/**
	 * 日期格式：yyyy-MM
	 */
	public static final String DATE_FORMAT_YEAR = "yyyy-MM";

	/**
	 * 日期格式：yyyyMMdd
	 */
	public static final String DATE_FORMAT_SIMPLE_CLEAN = "yyyyMMdd";

	/**
	 * 男
	 */
	public static final String MAN = "男";

	/**
	 * 女
	 */
	public static final String WOMEN = "女";

	/**
	 * 半年的毫秒数
	 */
	public static final Long HALF_YEAR = 183*24*60*60* 1000L;

	/**
	 * 一天的毫秒数
	 */
	public static final Long ONE_DAY = 24*60*60* 1000L;

	/**
	 * 一小时的毫秒数
	 */
	public static final Long ONE_HOUR = 60*60* 1000L;

	/**
	 * 一分钟的毫秒数
	 */
	public static final Long ONE_MINUTES = 60* 1000L;

	/**
	 * id主键不可为空
	 */
	public static final String MSG_ID = "id主键不可为空,请联系管理员。";

	/**
	 * aes-cbc密码
	 */
	public static final String AESKEY = "juv96zw8i439u0v0";
}


